<template>
  <div>
    <van-tabbar route fixed z-index="99" class="tabbar">
      <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/find" icon="search">找房</van-tabbar-item>
      <van-tabbar-item to="/zixun" icon="newspaper-o">咨讯</van-tabbar-item>
      <van-tabbar-item to="/my" icon="user-circle-o">我的</van-tabbar-item>
    </van-tabbar>
    <keep-alive><router-view></router-view></keep-alive>
  </div>
</template>

<script>
export default {
  name: 'HouseLayout'
}
</script>

<style lang="less" scoped>
.tabbar{
  border-top: 1px solid #767575;
}
</style>
